import { defineComponent, computed } from "vue";
import defaultProps from "../props.mjs";
const name = "ep-signature";
const _sfc_main = defineComponent({
  name,
  props: defaultProps,
  emits: ["update:modelValue"],
  setup(props, { emit }) {
    const isDetail = computed(() => props.options.permission > 0);
    const fieldModel = computed({
      get() {
        return props.modelValue;
      },
      set(val) {
        emit("update:modelValue", val);
      }
    });
    return {
      fieldModel,
      isDetail
    };
  }
});
export {
  _sfc_main as default
};
